<section class="content">

<form [formGroup]="form" (ngSubmit)="onSubmit(form.value)" class="form">
  <div class="form-group" [ngClass]="{'has-error': (!content.valid && content.touched), 'has-success': (content.valid && content.touched)}">
    <quill-editor class="form-control" [formControl]="content" [options]="editorConfig"></quill-editor>
  </div>
</form>

</section>
